package com.yaowk.test.entity;

import com.yaowk.common.db.BaseEntity;
import com.yaowk.common.db.GeneratorNote;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;

@Getter
@Setter
@ToString
@Entity
@DynamicInsert
@DynamicUpdate
public class TEntity1 extends BaseEntity<Long> {

    @GeneratorNote("属性1")
    private String param1;
    @GeneratorNote("属性2")
    private String param2;
    @GeneratorNote("属性3")
    private String param3;
}
